package com.shujia.day02;

import java.util.Scanner;

public class Code12SystemIn {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
//        System.out.println("请输入一行数据：");
//        String getLine = scanner.next(); // 使用next获取控制台输入的字符串
//        System.out.println("获取到一行数据："+getLine);

        System.out.println("请输入一个数值数据：");
        int a = scanner.nextInt();
        System.out.println("请再输入一个数值数据：");
        int b = scanner.nextInt();
        System.out.println(a + "*" + b + "=" + a * b);

    }
}
